<?php

require __DIR__ . '/../bootstrap.php';

if (is_login()) {
    show_msg_exit('你已登录');
}

?><!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <form action="./do-login.php" method="POST">
        密码：<input type="password" name="pwd">
        <input type="submit" value="登录">
    </form>
</body>
</html>